package com.site.wisdom_construction.entity.personnelModule;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.sql.Date;

/**
 * @Description  
 * @Author  DYF
 * @Date 2022-04-18 
 */
@ApiModel (value ="入岗教育安全生产承诺书表实体类", description = "EducationUndertaking")
public class EducationUndertaking {
	/**
	 * 入岗教育安全生产承诺书ID
	 */
   	@ApiModelProperty(value = "入岗教育安全生产承诺书ID", name = "id")
	private Integer id;

	/**
	 * 项目ID
	 */
   	@ApiModelProperty(value = "项目ID", name = "projectId")
	private Integer projectId;

	/**
	 * 入岗教育工种ID
	 */
   	@ApiModelProperty(value = "入岗教育工种ID", name = "educationProfessionId")
	private Integer educationProfessionId;

	/**
	 * 入岗教育工种名称
	 */
	@ApiModelProperty(value = "入岗教育工种名称", name = "educationProfessionName")
	private String educationProfessionName;


	/**
	 * 入岗教育安全承诺书名称
	 */
   	@ApiModelProperty(value = "入岗教育安全生产承诺书名称", name = "undertakingName")
	private String undertakingName;

	/**
	 * 入岗教育安全承诺书内容
	 */
   	@ApiModelProperty(value = "入岗教育安全生产承诺书内容", name = "undertakingContent")
	private String undertakingContent;

	/**
	 * 最后修改时间
	 */
   	@ApiModelProperty(value = "最后修改时间", name = "updateDate")
	@JsonFormat(timezone = "GMT+8", pattern ="yyyy-MM-dd")
	private Date updateDate;

	public EducationUndertaking(){ super(); }

	public EducationUndertaking(Integer id, Integer projectId, Integer educationProfessionId, String educationProfessionName, String undertakingName, String undertakingContent, Date updateDate) {
		this.id = id;
		this.projectId = projectId;
		this.educationProfessionId = educationProfessionId;
		this.educationProfessionName = educationProfessionName;
		this.undertakingName = undertakingName;
		this.undertakingContent = undertakingContent;
		this.updateDate = updateDate;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getProjectId() {
		return projectId;
	}

	public void setProjectId(Integer projectId) {
		this.projectId = projectId;
	}

	public Integer getEducationProfessionId() {
		return educationProfessionId;
	}

	public void setEducationProfessionId(Integer educationProfessionId) {
		this.educationProfessionId = educationProfessionId;
	}

	public String getEducationProfessionName() {
		return educationProfessionName;
	}

	public void setEducationProfessionName(String educationProfessionName) {
		this.educationProfessionName = educationProfessionName;
	}

	public String getUndertakingName() {
		return undertakingName;
	}

	public void setUndertakingName(String undertakingName) {
		this.undertakingName = undertakingName;
	}

	public String getUndertakingContent() {
		return undertakingContent;
	}

	public void setUndertakingContent(String undertakingContent) {
		this.undertakingContent = undertakingContent;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	@Override
	public String toString() {
		return "{" +
				"id=" + id +
				", projectId=" + projectId +
				", educationProfessionId=" + educationProfessionId +
				", educationProfessionName='" + educationProfessionName + '\'' +
				", undertakingName='" + undertakingName + '\'' +
				", undertakingContent='" + undertakingContent + '\'' +
				", updateDate=" + updateDate +
				'}';
	}
}
